package com.xueyi.tesla.entity.dto;

import com.xueyi.core.base.PageLimitReq;
import lombok.Data;
import org.springframework.util.StringUtils;

/**
 * 描述 用户表格Req
 *
 * @auther 俞烨
 * @date 2022-11-08 20
 */
@Data
public class UserTableDto extends PageLimitReq {

    private String keyWord;
    private Integer roleId;
    private Integer isValid;

    public void format() {

        keyWord = StringUtils.isEmpty(keyWord) ? null : keyWord;
        countStartIndex();
    }
}
